package utilities.display.shapes.definedshapes;

import java.awt.Color;
import java.awt.Composite;
//import java.awt.Point;
import java.awt.Rectangle;
import java.awt.Stroke;

import utilities.display.shapes.DrawShape;

/**
 * 
 * @author CoconutTank
 *
 */
public class DrawRectangle extends DrawShape
{
	/**
	 * 
	 */
	private static final long serialVersionUID = -5952001837262369165L;

	/**
	 * 
	 * @param x
	 * @param y
	 * @param width
	 * @param height
	 * @param lineColor
	 * @param stroke
	 * @param lineComposite
	 * @param fillColor
	 * @param fillComposite
	 */
	public DrawRectangle(int x, int y, int width, int height, 
						 Color lineColor, Stroke stroke, 
						 Composite lineComposite, Color fillColor, Composite fillComposite)
	{
		super(new Rectangle(x, y, width, height), lineColor, stroke, lineComposite, fillColor, fillComposite);
	}
	
	public Rectangle getShape()
	{
		return (Rectangle)myShape;
	}
}
